package api.result;

public class UnitResult {
    private final long value;
    private final String unit;
    public UnitResult(long value) {
        this(value, "ms");
    }

    public UnitResult(long value, String unit) {
        this.value = value;
        this.unit = unit;
    }

    public String toString() {
        return String.valueOf(value) + "\t" + unit;
    }
}
